//out:./css/
* {
  box-sizing: border-box;
  margin: 0;
}

@rootsize_w: 3.75vw;

.container {
  display: flex;
  height: 100vh;
  width: 80vw;
  margin: 0 auto;

  .panel1 {
    background-image: url('https://images.unsplash.com/photo-1558979158-65a1eaa08691?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80');

  }

  .panel2 {
    background-image: url('https://images.unsplash.com/photo-1572276596237-5db2c3e16c5d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80');
  }

  .panel3 {
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1353&q=80');
  }

  .panel4 {
    background-image: url('https://images.unsplash.com/photo-1551009175-8a68da93d5f9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1351&q=80');
  }

  .panel5 {
    background-image: url('https://images.unsplash.com/photo-1549880338-65ddcdfd017b?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80');
  }

  .total {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 80vh;
    border-radius: 50px;
    cursor: pointer;
    flex: 0.5;
    position: relative;
    margin: 10px;
    transition: all 0.7s;

    h3 {
      font-size: 24px;
      text-align: end;
      position: absolute;
      left: 20px;
      bottom: 20px;
      opacity: 0;
      margin: 0;
    }

    &.active {
      flex: 5;
     transition: opacity .3s;
      h3 {
        opacity: 1;
        
      }
    }
  }
}